package com.bl.weilan.service.biz.companyreport;

import com.bl.weilan.dao.model.CompanyReportEntity;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.companyreport.CompanyReportAddVo;
import com.bl.weilan.service.vo.companyreport.CompanyReportListVo;
import com.bl.weilan.service.vo.companyreport.CompanyReportModVo;
import org.springframework.data.domain.Pageable;

public interface CompanyReportService {
    //通过新闻id查询新闻详情
    CompanyReportEntity getCompanyReportById(String companyreportId);
    //查询公司id查询公司新闻列表
    CompanyReportListVo getCompanyReportLists(String companyId, Pageable pageable );
    //发布公司新闻信息
    void addCompanyReport(CompanyReportAddVo companyreportAddVo);
    // manager 删除单条公司新闻信息
    void del(DelBody id);
    //manager 批量删除
    void delList(DelListBody idList);
    //修改公司新闻信息
    void modify(CompanyReportModVo companyreportModVo);
}
